package com.shop.shop_end.exception;

import com.shop.shop_end.variable.ErrorCodeEnum;
import lombok.Getter;

@Getter
public class ServiceException extends RuntimeException{
    private ErrorCodeEnum code;
    private String msg;

    public ServiceException(String msg){
        super(msg);
    }

    public ServiceException(ErrorCodeEnum errorCodeEnum, String msg){
        super(msg);
        this.code = code;
    }
}
